Beginning Ractive.js by Alex Libby

Beginning Ractive.js by Alex Libby

Author:Alex Libby
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


© Alex Libby 2017

Alex LibbyBeginning Ractive.jshttps://doi.org/10.1007/978-1-4842-3093-0_6

6. Creating Components

Alex Libby1

(1)Rugby, Warwickshire, UK

Although Ractive has a healthy API, there will be times when we want to encapsulate functionality into a reusable component – after all, why rewrite code when we’ve already written something from a previous project that might work?

Making use of capabilities within Ractive, we can create all manner of components for future use – throughout the course of this chapter, we’ll take a look at how we can encapsulate code into a reusable component, and explore how we can make them available for others to use.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.